package com.testfileupload.uploadimg.design.combination;

import java.util.ArrayList;

public interface IRoot {
    //得到总经理的信息
    public String getInfo();
    //总经理要能增加小兵
    public void add(IBranch branch);
    //要能增加叶子节点
    public void  add(ILeaf leaf);
    //要能够遍历查看
    public ArrayList getSubordinateInfo();
}
